package nicg.st.entity;

import java.util.List;

/**
 * 新增指标体系的树形结构
 *
 * @author GeChen
 */
public class AddTreeVO {
    /**
     * 前端生成的id
     */
    private Integer id;
    /**
     * 用来表示是否可编辑，与后端逻辑无关
     */
    private Integer isEdit;
    /**
     * 节点名称
     */
    private String label;
    /**
     * 存储子节点
     */
    private List<AddTreeVO> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIsEdit() {
        return isEdit;
    }

    public void setIsEdit(Integer isEdit) {
        this.isEdit = isEdit;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<AddTreeVO> getChildren() {
        return children;
    }

    public void setChildren(List<AddTreeVO> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "AddTreeVO{" +
                "id=" + id +
                ", isEdit=" + isEdit +
                ", label='" + label + '\'' +
                ", children=" + children +
                '}';
    }
}